//
//  OGWindowController.h
//  OsteoGest
//
//  Created by Pierre de FIlippis on 6/25/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class OGSplitView;

@interface OGWindowController : NSWindowController {

	IBOutlet NSSplitView *_splitView;
	IBOutlet NSOutlineView *_column;
	IBOutlet NSTableView *_list;
	IBOutlet NSSegmentedControl *_viewModeButtons;
	IBOutlet NSSegmentedControl *_addRemoveButtons;
	IBOutlet NSArrayController *_customers;
}

- (void)awakeFromNib;
- (void)windowDidLoad;

- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset;
- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset;
- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview;
- (float)splitView:(NSSplitView *)sender constrainSplitPosition:(float)proposedPosition ofSubviewAt:(int)offset;
- (void)splitView:(NSSplitView *)sender resizeSubviewsWithOldSize:(NSSize)oldSize;

@end
